<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Tolc: app/admin/rte/ajax_addnew_page_version.php File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../tolc_logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Tolc
   &#160;<span id="projectnumber">v 1.00</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
      <li><a href="../../globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('db/d3f/ajax__addnew__page__version_8php.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">ajax_addnew_page_version.php File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="../../db/d3f/ajax__addnew__page__version_8php_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ad847b1d5d75085490c4954a4b94521a1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#ad847b1d5d75085490c4954a4b94521a1">$isAjax</a></td></tr>
<tr class="separator:ad847b1d5d75085490c4954a4b94521a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2110cc584fcd9b40af2653f0d4379d91"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a> (!$isAjax)</td></tr>
<tr class="separator:a2110cc584fcd9b40af2653f0d4379d91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0cabe855f548fc3664de27589616efd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a>(!isset($_SESSION['username']))&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#ab0cabe855f548fc3664de27589616efd">$user_tz</a> = $_SESSION['user_timezone']</td></tr>
<tr class="separator:ab0cabe855f548fc3664de27589616efd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab74db288cd92349906022ba161ff1043"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#ab74db288cd92349906022ba161ff1043">$user_df_php_datetime</a> = $a_date_format[$_SESSION['user_dateformat']]['php_datetime']</td></tr>
<tr class="separator:ab74db288cd92349906022ba161ff1043"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49a8a4009b02e49717caa88b128affc5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#a49a8a4009b02e49717caa88b128affc5">$res</a> = array()</td></tr>
<tr class="separator:a49a8a4009b02e49717caa88b128affc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8a5a87b9c1a6a0819b88447cbe41877"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#aa8a5a87b9c1a6a0819b88447cbe41877">$conn</a> = <a class="el" href="../../d2/d1c/utils__db_8php.html#a9130b08511e6b3e5efd303a8cb48b4e8">get_db_conn</a>($tolc_conf['dbdriver'])</td></tr>
<tr class="separator:aa8a5a87b9c1a6a0819b88447cbe41877"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1d5ccdee975b8f4d20aaffc5b28557c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#af1d5ccdee975b8f4d20aaffc5b28557c">$now</a> = $conn-&gt;qstr(<a class="el" href="../../d8/dfd/utils_8php.html#af4a2ee0fcc1938603a0df8cb02e51fbd">now</a>($user_tz))</td></tr>
<tr class="separator:af1d5ccdee975b8f4d20aaffc5b28557c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ee0dbecb1c2b92cf425284093e0542d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#a2ee0dbecb1c2b92cf425284093e0542d">$www_pages_id</a> = $_POST['www_pages_id']</td></tr>
<tr class="separator:a2ee0dbecb1c2b92cf425284093e0542d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2c618c43ebce7a2a8736661bf14d4af"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#ac2c618c43ebce7a2a8736661bf14d4af">$author_id</a> = $_POST['author_id']</td></tr>
<tr class="separator:ac2c618c43ebce7a2a8736661bf14d4af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaae83b6fdc22e67db03862c501b1c750"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#aaae83b6fdc22e67db03862c501b1c750">$date_publish_start</a> = $_POST['date_publish_start']</td></tr>
<tr class="separator:aaae83b6fdc22e67db03862c501b1c750"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20725122103bf2d1653e2bb3b8e760f1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#a20725122103bf2d1653e2bb3b8e760f1">$date_publish_end</a> = $_POST['date_publish_end']</td></tr>
<tr class="separator:a20725122103bf2d1653e2bb3b8e760f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1dbb25ca2c1c607bc85ea9a9e75c4cd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#af1dbb25ca2c1c607bc85ea9a9e75c4cd">$lk_content_status_id</a> = $_POST['lk_content_status_id']</td></tr>
<tr class="separator:af1dbb25ca2c1c607bc85ea9a9e75c4cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b9cc07eeb1dbf3ef44b2230fc7d6358"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#a4b9cc07eeb1dbf3ef44b2230fc7d6358">$editor_id</a> = $_POST['editor_id']</td></tr>
<tr class="separator:a4b9cc07eeb1dbf3ef44b2230fc7d6358"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f96e7fc92441776c9d1cd3386663b40"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#a6f96e7fc92441776c9d1cd3386663b40">$html</a> = $_POST['html']</td></tr>
<tr class="separator:a6f96e7fc92441776c9d1cd3386663b40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d3e67f8c29e28fc1473b44221348abe"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#a0d3e67f8c29e28fc1473b44221348abe">$date_publish_start_encoded</a> = <a class="el" href="../../d8/dfd/utils_8php.html#a06e96ccdcb8d9d23fdf1957d17276a72">date_encode</a>($date_publish_start, $user_tz, $user_df_php_datetime)</td></tr>
<tr class="separator:a0d3e67f8c29e28fc1473b44221348abe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcd300511d8e495226998bfd7dd8fe48"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#adcd300511d8e495226998bfd7dd8fe48">$date_publish_start_sql</a> = $conn-&gt;qstr($date_publish_start_encoded)</td></tr>
<tr class="separator:adcd300511d8e495226998bfd7dd8fe48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada85825ef63e9b6d83ba9e23a6aa48ce"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#ada85825ef63e9b6d83ba9e23a6aa48ce">$date_publish_end_sql</a> = $date_publish_end &gt; 0 ? $conn-&gt;qstr(<a class="el" href="../../d8/dfd/utils_8php.html#a06e96ccdcb8d9d23fdf1957d17276a72">date_encode</a>($date_publish_end, $user_tz, $user_df_php_datetime)) : 'null'</td></tr>
<tr class="separator:ada85825ef63e9b6d83ba9e23a6aa48ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8be558b2f080e7f270544dc49342c444"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#a8be558b2f080e7f270544dc49342c444">$editor_id_sql</a> = $editor_id &gt; 0 ? $editor_id : 'null'</td></tr>
<tr class="separator:a8be558b2f080e7f270544dc49342c444"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d6a2c15b45ad61216139b285de3856a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#a7d6a2c15b45ad61216139b285de3856a">$a_template</a> = <a class="el" href="../../d6/dfd/utils__cms_8php.html#a9f54a511e68e3e64b7c61ecd1c908989">get_page_template</a>($conn, $www_pages_id, $date_publish_start_encoded)</td></tr>
<tr class="separator:a7d6a2c15b45ad61216139b285de3856a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a244cfb00f58fe64d22802920d642cf8a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#a244cfb00f58fe64d22802920d642cf8a">$template_id</a> = $a_template['template_id']</td></tr>
<tr class="separator:a244cfb00f58fe64d22802920d642cf8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa465cb87dd3c45ac6a677abe070bc9d3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#aa465cb87dd3c45ac6a677abe070bc9d3">$a_page_version_content</a> = <a class="el" href="../../d6/dfd/utils__cms_8php.html#af95a0717c669315235da4fb362691905">get_page_version_content_from_string</a>($conn, $template_id, $html)</td></tr>
<tr class="separator:aa465cb87dd3c45ac6a677abe070bc9d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a047170d6020a882807665812a27e2525"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#a047170d6020a882807665812a27e2525">$sql</a></td></tr>
<tr class="separator:a047170d6020a882807665812a27e2525"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fef2a57694dba58d0bf17d40acfdad6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a>($conn-&gt;Execute($sql)===false)&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html#a2fef2a57694dba58d0bf17d40acfdad6">else</a></td></tr>
<tr class="separator:a2fef2a57694dba58d0bf17d40acfdad6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="aa465cb87dd3c45ac6a677abe070bc9d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$a_page_version_content = <a class="el" href="../../d6/dfd/utils__cms_8php.html#af95a0717c669315235da4fb362691905">get_page_version_content_from_string</a>($conn, $template_id, $html)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00058">58</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="a7d6a2c15b45ad61216139b285de3856a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$a_template = <a class="el" href="../../d6/dfd/utils__cms_8php.html#a9f54a511e68e3e64b7c61ecd1c908989">get_page_template</a>($conn, $www_pages_id, $date_publish_start_encoded)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00054">54</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="ac2c618c43ebce7a2a8736661bf14d4af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$author_id = $_POST['author_id']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00041">41</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="aa8a5a87b9c1a6a0819b88447cbe41877"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$conn = <a class="el" href="../../d2/d1c/utils__db_8php.html#a9130b08511e6b3e5efd303a8cb48b4e8">get_db_conn</a>($tolc_conf['dbdriver'])</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00034">34</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="a20725122103bf2d1653e2bb3b8e760f1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$date_publish_end = $_POST['date_publish_end']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00043">43</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="ada85825ef63e9b6d83ba9e23a6aa48ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$date_publish_end_sql = $date_publish_end &gt; 0 ? $conn-&gt;qstr(<a class="el" href="../../d8/dfd/utils_8php.html#a06e96ccdcb8d9d23fdf1957d17276a72">date_encode</a>($date_publish_end, $user_tz, $user_df_php_datetime)) : 'null'</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00050">50</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="aaae83b6fdc22e67db03862c501b1c750"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$date_publish_start = $_POST['date_publish_start']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00042">42</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="a0d3e67f8c29e28fc1473b44221348abe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$date_publish_start_encoded = <a class="el" href="../../d8/dfd/utils_8php.html#a06e96ccdcb8d9d23fdf1957d17276a72">date_encode</a>($date_publish_start, $user_tz, $user_df_php_datetime)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00048">48</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="adcd300511d8e495226998bfd7dd8fe48"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$date_publish_start_sql = $conn-&gt;qstr($date_publish_start_encoded)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00049">49</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="a4b9cc07eeb1dbf3ef44b2230fc7d6358"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$editor_id = $_POST['editor_id']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00045">45</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="a8be558b2f080e7f270544dc49342c444"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$editor_id_sql = $editor_id &gt; 0 ? $editor_id : 'null'</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00051">51</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="a6f96e7fc92441776c9d1cd3386663b40"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$html = $_POST['html']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00046">46</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="ad847b1d5d75085490c4954a4b94521a1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$isAjax</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= isset($_SERVER[<span class="stringliteral">&#39;HTTP_X_REQUESTED_WITH&#39;</span>]) AND</div>
<div class="line">        strtolower($_SERVER[&#39;HTTP_X_REQUESTED_WITH&#39;]) === &#39;xmlhttprequest&#39;</div>
</div><!-- fragment -->
<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00006">6</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="af1dbb25ca2c1c607bc85ea9a9e75c4cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$lk_content_status_id = $_POST['lk_content_status_id']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00044">44</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="af1d5ccdee975b8f4d20aaffc5b28557c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$<a class="el" href="../../d8/dfd/utils_8php.html#af4a2ee0fcc1938603a0df8cb02e51fbd">now</a> = $conn-&gt;qstr(<a class="el" href="../../d8/dfd/utils_8php.html#af4a2ee0fcc1938603a0df8cb02e51fbd">now</a>($user_tz))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00037">37</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="a49a8a4009b02e49717caa88b128affc5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$res = array()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00031">31</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="a047170d6020a882807665812a27e2525"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$sql</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= <span class="stringliteral">&#39;INSERT INTO www_page_versions &#39;</span> .</div>
<div class="line">        <span class="stringliteral">&#39;(www_pages_id,lk_content_status_id,date_inserted,date_publish_start,date_publish_end,author_id,editor_id) &#39;</span> .</div>
<div class="line">        <span class="stringliteral">&#39;VALUES (&#39;</span> .</div>
<div class="line">        <a class="code" href="../../db/d3f/ajax__addnew__page__version_8php.html#a2ee0dbecb1c2b92cf425284093e0542d">$www_pages_id</a> . <span class="charliteral">&#39;,&#39;</span> .</div>
<div class="line">        <a class="code" href="../../db/d3f/ajax__addnew__page__version_8php.html#af1dbb25ca2c1c607bc85ea9a9e75c4cd">$lk_content_status_id</a> . <span class="charliteral">&#39;,&#39;</span> .</div>
<div class="line">        <a class="code" href="../../db/d3f/ajax__addnew__page__version_8php.html#af1d5ccdee975b8f4d20aaffc5b28557c">$now</a> . <span class="charliteral">&#39;,&#39;</span> .</div>
<div class="line">        <a class="code" href="../../db/d3f/ajax__addnew__page__version_8php.html#adcd300511d8e495226998bfd7dd8fe48">$date_publish_start_sql</a> . <span class="charliteral">&#39;,&#39;</span> .</div>
<div class="line">        <a class="code" href="../../db/d3f/ajax__addnew__page__version_8php.html#ada85825ef63e9b6d83ba9e23a6aa48ce">$date_publish_end_sql</a> . <span class="charliteral">&#39;,&#39;</span> .</div>
<div class="line">        <a class="code" href="../../db/d3f/ajax__addnew__page__version_8php.html#ac2c618c43ebce7a2a8736661bf14d4af">$author_id</a> . <span class="charliteral">&#39;,&#39;</span> .</div>
<div class="line">        <a class="code" href="../../db/d3f/ajax__addnew__page__version_8php.html#a8be558b2f080e7f270544dc49342c444">$editor_id_sql</a> .</div>
<div class="line">        <span class="charliteral">&#39;)&#39;</span></div>
</div><!-- fragment -->
<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00064">64</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="a244cfb00f58fe64d22802920d642cf8a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$template_id = $a_template['template_id']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00055">55</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="ab74db288cd92349906022ba161ff1043"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$user_df_php_datetime = $a_date_format[$_SESSION['user_dateformat']]['php_datetime']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00030">30</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="ab0cabe855f548fc3664de27589616efd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a> (!isset($_SESSION['username'])) $user_tz = $_SESSION['user_timezone']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00029">29</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="a2ee0dbecb1c2b92cf425284093e0542d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$www_pages_id = $_POST['www_pages_id']</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00040">40</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="a2fef2a57694dba58d0bf17d40acfdad6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d8/d01/ajax__regional__form_8php.html#a2110cc584fcd9b40af2653f0d4379d91">if</a> ($conn-&gt;Execute($sql)===false) else</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">{</div>
<div class="line">        <a class="code" href="../../d9/d37/ajax__load__page__version_8php.html#aaf6b59bede49d73754040dbdb1ec28e4">$www_page_versions_id</a> = <a class="code" href="../../d5/d3e/ajax__autocomplete__parent__title_8php.html#aa8a5a87b9c1a6a0819b88447cbe41877">$conn</a>-&gt;Insert_ID()</div>
</div><!-- fragment -->
<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00079">79</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
<a class="anchor" id="a2110cc584fcd9b40af2653f0d4379d91"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">if(!$isAjax)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html#l00008">8</a> of file <a class="el" href="../../db/d3f/ajax__addnew__page__version_8php_source.html">ajax_addnew_page_version.php</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_d422163b96683743ed3963d4aac17747.html">app</a></li><li class="navelem"><a class="el" href="../../dir_04bb458943ba1ea9da78306bf6170bdc.html">admin</a></li><li class="navelem"><a class="el" href="../../dir_648652d4c91e30e22fa3572c6ab2f89e.html">rte</a></li><li class="navelem"><a class="el" href="../../db/d3f/ajax__addnew__page__version_8php.html">ajax_addnew_page_version.php</a></li>
    <li class="footer">Generated on Fri Aug 31 2012 22:06:31 for Tolc by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.2 </li>
  </ul>
</div>
</body>
</html>
